home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / sharew / elektro / network / network.doc < prev    next >
Encoding:
Text File  |  1987-04-21  |  7.0 KB  |  384 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.                             NETWORK V1.0
  15.  
  16.                   AC ELECTRONIC CIRCUIT ANALYSIS PROGRAM
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                   Configured for the IBM by:         Bruce A. Trolli
  41.                                                          
  42.                                                          
  43.  
  44.                   Converted to ST by Mammoth
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                         1
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.         1.0) GENERAL
  69.  
  70.                 NETWORK  outputs  the ac frequency reponse for a user 
  71.             described  electronic  circuit.  The circuit  description  is 
  72.             prepared  as  an  input  text  file  containing  a  two  line 
  73.             specification   for  each  element  in   the   circuit.   The 
  74.             specification  of  each element requires the user  to  assign 
  75.             node  numbers  to each node in the circuit.  This  method  is 
  76.             similar  to  many  commercially  available  circuit  analysis 
  77.             programs.
  78.  
  79.                   When  NETWORK is run,  it builds a matrix from  the 
  80.             user's circuit description file and evaluates the output node 
  81.             voltage at each frequency under the assumption that the input 
  82.             node has a 1 volt signal with zero phase angle applied to it.
  83.  
  84.                   At run time the user may specify the  frequencies to be 
  85.             calculated  as  either a linearly or  logarithmically  spaced 
  86.             interval.  Output  is  sent to the screen by default  but  an 
  87.             optional output datafile may be specified at runtime.
  88.  
  89.                   Models   are   provided  for   Resistors,   Capacitors, 
  90.             Inductors,  Bipolar  transistors (current controlled  current 
  91.             sources),  Fets  (voltage  controlled  current  sources,  and 
  92.             Opamps (voltage controlled voltage sources).
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.                                         2
  123.  
  124.  
  125.  
  126.  
  127.  
  128.             2.0) ACKNOWLEDGEMENTS
  129.  
  130.                   Network  is  an adaptation of an  existing  circuit 
  131.             analysis  program  to  run on  the  IBM  PC.   The  origional 
  132.             article:  "Verify Network Frequency Response With This Simple 
  133.             Basic Program",  Werner A. Schnider, EDN magazine, October 5, 
  134.             1977,   was  written  for  a Hewlett  Packard  9830A  desktop 
  135.             calculator. 
  136.  
  137.                   The  program  was  modified to run on an Apple  II  and 
  138.             reappeared  in  the  magazine  as:  "Basic  Program  Performs 
  139.             Circuit   Analysis",   Richard  Steincross,   EDN   magazine, 
  140.             September 1,  1982. This version expanded the capabilities of 
  141.             the  program  by  adding inductors to  the  network  elements 
  142.             supported.  It  also  allowed the user to specify  input  and 
  143.             output nodes at run time.  After testing this program, I have 
  144.             removed  this  feature because it did  not  produce  reliable 
  145.             output for a number of simple circuits.
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.                                         3
  184.  
  185.  
  186.  
  187.  
  188.  
  189.             3.0) REQUIREMENTS
  190.  
  191.             NETWORK  requires a single disk drive. 
  192.                   Because the program output has been limited to text, it 
  193.             can  run  with either the monochrome or  color  adapter.  The 
  194.             input  and output formats have purposely been kept simple  to 
  195.             allow  most  systems to run the  program.  (Besides,  I  have 
  196.             enough  problems making programs print the correct answer let 
  197.             alone print it on a jazzed up screen.) 
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.                                         4
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.             4.0) RUNNING THE PROGRAM
  246.  
  247.  
  248.             4.1) Number the nodes     
  249.  
  250.                   To analyze your circuit, it will be necessary to number 
  251.             the nodes on your schematic diagram.  These node numbers will 
  252.             be  used to prepare a precise description of the  circuit  so 
  253.             that NETWORK can construct the circuits network equations.
  254.  
  255.                   The  input  node must be node number 1 and  the  output 
  256.             node must be the highest node in the circuit.
  257.  
  258.                   AC  ground is node 0.  The 1 volt input that is applied 
  259.             to node number 1 is referenced to node 0.
  260.  
  261.  
  262.             4.2) Prepare Input File
  263.  
  264.                   Prepare   a  text  file  that  contains  a   two   line 
  265.             description   for  each  circuit  element  according  to  the 
  266.             definitions below. Note that comments may be added after the
  267.             element  type so that the origional reference designations of 
  268.             your circuit's schematic may be retained as part of the input 
  269.             file.  This should make it easy to go back and forth  between 
  270.             your schematic and the input file.
  271.  
  272.                   Also  comments may be added anywhere in the input  file 
  273.             by placing a ";" at the beginning of the line.
  274.  
  275.  
  276.              Resistors:
  277.  
  278.                   R              
  279.                   from node, to node, value (in ohms)
  280.  
  281.                        Example:  A 1000 ohm resistor between nodes 1 and 2.
  282.  
  283.  
  284.                        R
  285.                        1,2,1000
  286.  
  287.                                  
  288.              Capacitors:
  289.                   C
  290.                   from  node,  to node,value(in micro farads)
  291.  
  292.                        Example: A 10 uf capacitor between nodes 3 and 6.
  293.  
  294.                        C
  295.                        3,6,10
  296.  
  297.  
  298.  
  299.                                         5
  300.  
  301.  
  302.  
  303.  
  304.  
  305.              Inductors:
  306.  
  307.                   L
  308.                   from node, to node, value (in henries)
  309.  
  310.  
  311.              Fets: 
  312.  
  313.                   F
  314.                   gate node,  source node,  drain node,  transconductance
  315.                                                            (amps/volt)
  316.                                  
  317.                   Example: A common source fet with 10 mmhos transconductance.
  318.                             
  319.                        F           
  320.                        2,0,4,.01
  321.  
  322.              Bipolar Transistors:
  323.  
  324.                   B
  325.                   base node, emitter node, collector node, beta, b-e resistance 
  326.                                                                  (ohms)
  327.  
  328.                   Example: Emitter follower with beta=100
  329.                   
  330.                        B
  331.                        3,4,0,100,.001
  332.  
  333.  
  334.                                                 Bruce  Trolli
  335.  
  336.                                                 Cleveland RBBS
  337.                                                 (216-3310510)
  338.  
  339.                
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.                                         9
  368. ə-3310510)
  369.  
  370.                
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.